package com.luoran.car.service.Impl;

import com.luoran.car.domain.Type;
import com.luoran.car.mapper.TypeMapper;
import com.luoran.car.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    private TypeMapper typeMapper;
    @Override
    public List<Type> list() {
        return typeMapper.list();
    }
}
